﻿using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using System.Web;

namespace IntraVision.Web
{
    public interface IFilterCondition
    {
        string Column{ get; }
        bool Active { get; }

        string Render();
        void Init(NameValueCollection req);
    }

    public interface IFilterCondition<TEntity> : IFilterCondition where TEntity: class, new()
    {
        IQueryable<TEntity> Filter(IQueryable<TEntity> list);
    }
}
